package org.jeecg.modules.flow.record.service;

import org.jeecg.modules.flow.record.entity.WmsFlowRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 业务流程记录信息
 * @Author: jeecg-boot
 * @Date:   2023-09-21
 * @Version: V1.0
 */
public interface IWmsFlowRecordService extends IService<WmsFlowRecord> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<WmsFlowRecord>
	 */
	public List<WmsFlowRecord> selectByMainId(String mainId);
	/**
	 * 判断当前单据是否已完成
	 *
	 * @since 2023/10/7 14:08
	 * @param infoId
	 * @return boolean
	 */
	public boolean isCompleted(String infoId);
}
